package cn.sunlelin.educationserver.service;

import cn.sunlelin.educationserver.entity.Appraise;

import java.util.List;
import java.util.Map;

public interface AppraiseService {
    public Boolean createAppraise(Appraise appraise);
    public Boolean updateAppraise(Appraise appraise);
    public List<Map<String,Object>> selectAppraiseByCourseId(Integer courseId);
    public List<Appraise> selectAppraiseByUserId(Integer userId);
    public Appraise selectAppraiseById(Integer appraiseId);
    public Appraise selectAppraiseByCourseAndUser(Appraise appraise);
    public Boolean deleteAppraise(Integer appraiseId);
}
